import 'package:display/app/modules/home/controllers/home_controller.dart';
import 'package:display/app/modules/home/views/home_view.dart';
import 'package:fluent_ui/fluent_ui.dart';
import 'package:flutter/material.dart';

import 'package:get/get.dart';
import 'package:system_theme/system_theme.dart';

import 'app/routes/app_pages.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  Get.put(HomeController());
  runApp(
    // FluentApp(
    //     themeMode: ThemeMode.system,
    //     debugShowCheckedModeBanner: false,
    //     color: SystemTheme.accentColor.light,
    //     darkTheme: FluentThemeData(
    //       brightness: Brightness.dark,
    //       visualDensity: VisualDensity.standard,
    //     ),
    //     theme: FluentThemeData(
    //       visualDensity: VisualDensity.standard,
    //     ),
    //     home: HomeView()

    //     ),
    GetMaterialApp(
      debugShowCheckedModeBanner: false,
      title: "Application",
      initialRoute: AppPages.INITIAL,
      getPages: AppPages.routes,
    ),
  );
}
